package com.bdqn.membersystem.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.List;
import com.bdqn.membersystem.mapper.UserPair201312Mapper;
import com.bdqn.membersystem.pojo.UserPair201312;
import com.bdqn.membersystem.service.UserPair201312Service;
/**
* 作者：姚岳城
* 日期：2020/4/3 16:53
*/

@Service
public class UserPair201312ServiceImpl implements UserPair201312Service{

    @Resource
    private UserPair201312Mapper userPair201312Mapper;

    @Override
    public int deleteByPrimaryKey(String pairId) {
        return userPair201312Mapper.deleteByPrimaryKey(pairId);
    }

    @Override
    public int insertSelective(UserPair201312 record) {
        return userPair201312Mapper.insertSelective(record);
    }

    @Override
    public UserPair201312 selectByPrimaryKey(String pairId) {
        return userPair201312Mapper.selectByPrimaryKey(pairId);
    }

    @Override
    public int updateByPrimaryKeySelective(UserPair201312 record) {
        return userPair201312Mapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateBatch(List<UserPair201312> list) {
        return userPair201312Mapper.updateBatch(list);
    }

    @Override
    public int batchInsert(List<UserPair201312> list) {
        return userPair201312Mapper.batchInsert(list);
    }

    @Override
    public int insertOrUpdate(UserPair201312 record) {
        return userPair201312Mapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(UserPair201312 record) {
        return userPair201312Mapper.insertOrUpdateSelective(record);
    }

}
